package recursos

case class AireAcondicionado(fgs:Int, frio:Boolean, calor:Boolean) extends Recurso {
	  
  override def soyIgual(aireAcond:Recurso):Boolean ={
    val fgs = this.fgs
    val frio = this.frio
    val calor = this.calor
    aireAcond match{
      case AireAcondicionado(fgs,frio,calor) => true
      case _ => false
    }
  }
}